﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace StockDataGeter
{
    public partial class FrmCreateGuidelineTables : Form
    {
        public FrmCreateGuidelineTables()
        {
            InitializeComponent();
        }

        private void btnCreate_Click(object sender, EventArgs e)
        {
            int beginNO = int.Parse(this.txtBeginNO.Text);
            int endNO = int.Parse(this.txtEndNO.Text);

            DataTool.CreateGuideLineTables(beginNO, endNO);
        }

        private void button1_Click(object sender, EventArgs e)
        {
            int beginNO = int.Parse(this.txtBeginNO.Text);
            int endNO = int.Parse(this.txtEndNO.Text);

            DataTool.DeleteGuideLineData(beginNO, endNO);
            
        }
    }
}
